#!/bin/bash

go run account/rpc/account.go -f account/rpc/etc/account.yaml > /dev/null &
go run account/api/account.go -f account/api/etc/account.yaml > /dev/null &
go run property/rpc/property.go -f property/rpc/etc/property.yaml > /dev/null &
go run property/api/property.go -f property/api/etc/property.yaml > /dev/null &
sleep 2s
go run receipt/rpc/receipt.go -f receipt/rpc/etc/receipt.yaml > /dev/null &
go run receipt/api/receipt.go -f receipt/api/etc/receipt.yaml > /dev/null &
go run outlay/rpc/outlay.go -f outlay/rpc/etc/outlay.yaml > /dev/null &
sleep 2s
go run outlay/api/outlay.go -f outlay/api/etc/outlay.yaml > /dev/null &